      <table id="user-table" class="table table-striped table-hover" data-search-form="#user-search-form">
          <thead>
            <tr>
              <th>{{'admin.operation_analysis.join_lesson.username'|trans}}</th>
              <th width="400">{{'admin.operation_analysis.join_lesson'|trans}}</th>
              <th>{{'admin.operation_analysis.join_lesson.time'|trans}}</th>
              <th>{{'admin.operation_analysis.join_lesson.price'|trans}}</th>
            </tr>
          </thead>
          <tbody>
            {% if JoinLessonDetail %}
              {% for data in JoinLessonDetail %}
                  <tr>
                      {% if users[data.user_id]|default() %}
                        <td> {{ admin_macro.user_link(users[data.user_id]) }}</td>  
                      {% else %}
                        <td><strong>{{ 'user.not_exist'|trans }}</strong></td>
                      {% endif %}

                      {% if courses[data.target_id]|default() %}
                        {% set course = courses[data.target_id] %}
                        <td><a href="{{ path('course_show', {id:data.target_id}) }}" target="_blank"><strong>{{ courseSets[course.courseSetId].title }}--{{ course.title }}</strong></a><br></td>
                      {% else %}
                        <td><strong>{{'admin.operation_analysis.join_lesson.empty'|trans}}</strong><br></td>
                      {% endif %}
                      
                      <td>{{data.operate_time|date("Y-m-d H:i:s")}}</td>
                      <td class="text-danger">{% if data.order is not defined %}{{'admin.operation_analysis.join_lesson.free'|trans}}{% else %}{{data.order.pay_amount}}{% endif %}</td>
                  </tr>
              {% endfor %}
            {% endif %}
          </tbody>
      </table>    
      {{ admin_macro.paginator(paginator) }}